cc = ghc

lib = src/Hson.hs

Simple: examples/TestSimple.hs
	$(cc) -o examples/$@ $^ $(lib)

runSimple: Simple
	./examples/Simple

.PHONY: clean
clean:
	rm -rf examples/*.hi examples/*.o examples/*.exe
	rm -rf src/*.hi src/*.o
